package com.yiren.dbaa.module.common.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lwb
 * @date : 2022/3/1 10:39
 * @description:  应用扫描登录实体
 */
public class AppScanLoginBean implements Serializable {

    public Integer id;
    private Integer userId;      //用户ID
    private String token;
    private String code;         //扫码登录的唯一标识
    private Integer loginStatus; //0未登录 1已登录 2登录失败
    private String deviceName;   //设备名称
    private Date createTime;     //登录时间

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getLoginStatus() {
        return loginStatus;
    }

    public void setLoginStatus(Integer loginStatus) {
        this.loginStatus = loginStatus;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
